package com.qdu.nic.samyidong.model;

import java.util.Date;

/**
 * Table: user_info
 */
public class UserInfo {
    /**
     * Column: id
     * Remark: ID
     */
    private Integer id;

    /**
     * Column: phonenumber
     * Remark: 手机号
     */
    private String phonenumber;

    /**
     * Column: smgcode
     * Remark: 短信验证码
     */
    private String smgcode;

    /**
     * Column: activate_time
     * Remark: 生效时间
     */
    private Date activateTime;

    /**
     * Column: passwd
     * Remark: 密码
     */
    private String passwd;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber == null ? null : phonenumber.trim();
    }

    public String getSmgcode() {
        return smgcode;
    }

    public void setSmgcode(String smgcode) {
        this.smgcode = smgcode == null ? null : smgcode.trim();
    }

    public Date getActivateTime() {
        return activateTime;
    }

    public void setActivateTime(Date activateTime) {
        this.activateTime = activateTime;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }
}